flowchart TD
    start(("Start")) --> decisionE{"Branch E"}
    decisionE -->|" route == 'A' "| A["A"]
    decisionE -->|" route == 'X' "| X["X"]
    A --> B["B"]
    B --> C{"Merge C"}
    X --> Y["Y"]
    Y --> C
    C -->|" next == 'D' "| D["D"]
    C -->|" next == 'Z' "| Z["Z"]
    D --> K["K"]
    Z --> K
    K --> endpoint(("End"))
